package com.sojson.util.job.impl;

import org.quartz.JobExecutionContext;

import com.sojson.entity.po.SysJob;
import com.sojson.util.job.AbstractQuartzJob;
import com.sojson.util.job.JobInvokeUtil;

/**
 * 定时任务处理(允许并发执行)
 * 
 * @author liu
 * @date 2021-04-20
 */
public class QuartzJobExecution extends AbstractQuartzJob {

    @Override
    protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception {
        JobInvokeUtil.invokeMethod(sysJob);
    }

}